package com.woniu.book.feign;

import com.woniu.finance.domain.ApartDepositReceivable;
import com.woniu.finance.domain.ApartFee;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("finance")
public interface FinanceFeign {

    @RequestMapping("/finance/tbapartdepositreceivable/feign/add")
    public Integer feignAddApartDepositReceivable(@RequestBody ApartDepositReceivable apartDepositReceivable);


    @RequestMapping("/finance/tbapartfee/feign/batchAdd")
    public Integer feignBatchAddApartFee(@RequestBody List<ApartFee> apartFeeList);
}
